<!--html head部分  通过引入文件完成(分别适应于PC和手机)-->
<?php include($plume['ROOT_PATH'] . "modules/Track/View/layout/layoutM.phtml"); ?>
<?php
$userInfo = null;
if (isset($data['user_info'])) {
    $userInfo = $data['user_info'];
}
?>
<!--html body部分 根据业务需求完善你的content-->
<div class="container">
<!-- first row -->
<div class="row">
<div class="col-md-12 text-center">
  <h4>编辑客户信息</h4>
  <hr>
</div>
</div><!-- end first row -->
<!-- form -->
<form>
<!-- row -->
<div class="row">
<!-- element -->
<div class="col-md-3">
<div class="form-group">
  <div class="row">
    <div class="col-md-3">
      <label for="date">日期：</label>
    </div>
    <div class="col-md-9">
      <input class="form-control" type="text" id="date" placeholder="输入日期" value="<?php echo isset($userInfo['date']) ? substr($userInfo['date'], 0, 10) : '' ?>">
    </div>
  </div>
</div>
</div>
<!-- end elment -->
<!-- element -->
<div class="col-md-3">
<div class="form-group">
  <div class="row">
    <div class="col-md-3">
      <label class="control-label" for="from">渠道：</label>
    </div>
    <div class="col-md-9">
     <input class="form-control" type="text" id="from" placeholder="输入来源渠道" value="<?php echo isset($userInfo['from']) ? $userInfo['from'] : '' ?>">
    </div>
  </div>
</div>
</div>
<!-- end elment -->
<!-- element -->
<div class="col-md-3">
<div class="form-group">
  <div class="row">
    <div class="col-md-3">
      <label class="control-label" for="fromkey">关键字：</label>
    </div>
    <div class="col-md-9">
      <input class="form-control" type="text" id="fromkey" placeholder="输入来源跟踪关键字" value="<?php echo isset($userInfo['fromkey']) ? $userInfo['fromkey'] : '' ?>">
    </div>
  </div>
</div>
</div>
<!-- end elment -->
<!-- element -->
<div class="col-md-3">
<div class="form-group">
  <div class="row">
    <div class="col-md-3">
      <label class="control-label" for="name">姓名：</label>
    </div>
    <div class="col-md-9">
      <input class="form-control" type="text" id="name" placeholder="输入姓名" value="<?php echo isset($userInfo['name']) ? $userInfo['name'] : '' ?>">
    </div>
  </div>
</div>
</div>
<!-- end elment -->
</div>
<!-- end row -->
<!-- row -->
<div class="row">
<!-- element -->
<div class="col-md-3">
<div class="form-group">
  <div class="row">
    <div class="col-md-3">
      <label class="control-label" for="area">地区：</label>
    </div>
    <div class="col-md-9">
      <input class="form-control" type="text" id="area" placeholder="输入地区" value="<?php echo isset($userInfo['area']) ? $userInfo['area'] : '' ?>">
    </div>
  </div>
</div>
</div>
<!-- end elment -->
<!-- element -->
<div class="col-md-3">
<div class="form-group">
  <div class="row">
    <div class="col-md-3">
      <label class="control-label" for="fromkey">QQ号：</label>
    </div>
    <div class="col-md-9">
      <input class="form-control" type="text" id="qq" placeholder="输入QQ号" value="<?php echo isset($userInfo['qq']) ? $userInfo['qq'] : '' ?>">
    </div>
  </div>
</div>
</div>
<!-- end elment -->
<!-- element -->
<div class="col-md-3">
<div class="form-group">
  <div class="row">
    <div class="col-md-3">
      <label class="control-label" for="tel">电话：</label>
    </div>
    <div class="col-md-9">
      <input class="form-control" type="text" id="tel" placeholder="输入电话" value="<?php echo isset($userInfo['tel']) ? $userInfo['tel'] : '' ?>">
    </div>
  </div>
</div>
</div>
<!-- end elment -->
<!-- element -->
<div class="col-md-3">
<div class="form-group">
  <div class="row">
    <div class="col-md-3">
      <label class="control-label" for="mail">邮箱：</label>
    </div>
    <div class="col-md-9">
     <input class="form-control" type="text" id="mail" placeholder="输入邮箱" value="<?php echo isset($userInfo['mail']) ? $userInfo['mail'] : '' ?>">
    </div>
  </div>
</div>
</div>
<!-- end elment -->
</div>
<!-- end row -->
<!-- row -->
<div class="row">
<!-- element -->
<div class="col-md-3">
<div class="form-group">
  <div class="row">
    <div class="col-md-3">
      <label class="control-label" for="nhtype">年会类型：</label>
    </div>
    <div class="col-md-9">
      <input class="form-control" type="text" id="nhtype" placeholder="输入年会类型" value="<?php echo isset($userInfo['nhtype']) ? $userInfo['nhtype'] : '' ?>">
    </div>
  </div>
</div>
</div>
<!-- end elment -->
<!-- element -->
<div class="col-md-3">
<div class="form-group">
  <div class="row">
    <div class="col-md-3">
      <label class="control-label" for="comname">公司名称：</label>
    </div>
    <div class="col-md-9">
      <input class="form-control" type="text" id="comname" placeholder="输入公司名称" value="<?php echo isset($userInfo['comname']) ? $userInfo['comname'] : '' ?>">
    </div>
  </div>
</div>
</div>
<!-- end elment -->
<!-- element -->
<div class="col-md-3">
<div class="form-group">
  <div class="row">
    <div class="col-md-3">
      <label class="control-label" for="nhscope">年会规模：</label>
    </div>
    <div class="col-md-9">
      <input class="form-control" type="text" id="nhscope" placeholder="输入您的年会规模" value="<?php echo isset($userInfo['nhscope']) ? $userInfo['nhscope'] : '' ?>">
    </div>
  </div>
</div>
</div>
<!-- end elment -->
<!-- element -->
<div class="col-md-3">
<div class="form-group">
  <div class="row">
    <div class="col-md-3">
      <label class="control-label" for="step">阶段：</label>
    </div>
    <div class="col-md-9">
     <input class="form-control" type="text" id="step" placeholder="输入阶段" value="<?php echo isset($userInfo['step']) ? $userInfo['step'] : '' ?>">
    </div>
  </div>
</div>
</div>
<!-- end elment -->
</div>
<!-- end row -->
<!-- row -->
<div class="row">
<!-- element -->
<div class="col-md-12">
<div class="form-group">
  <div class="row">
    <div class="col-md-1">
      <label class="control-label" for="note">备注：</label>
    </div>
    <div class="col-md-11">
      <input class="form-control" type="text" id="note" placeholder="输入备注" value="<?php echo isset($userInfo['note']) ? $userInfo['note'] : '' ?>">
    </div>
  </div>
</div>
</div>
<!-- end elment -->
</div><!-- end row -->
<!-- row -->
<div class="row">
<!-- element -->
<div class="col-md-3 col-md-offset-3">
  <button type="button" id="save" class="btn btn-default">保存</button>
</div>
<div class="col-md-3 col-md-offset-3">
  <button type="button" id="cancel" class="btn btn-default">取消</button>
</div>
<!-- end element -->
</div><!-- end row -->
<input type="hidden" id="userid" value="<?php echo isset($userInfo['id']) ? $userInfo['id'] : '' ?>">
</form><!--end form-->
</div><!--end container-->


<!--html body部分 结束-->

<!--html foot部分  通过引入文件完成-->
<?php include($plume['ROOT_PATH'] . "modules/Track/View/layout/footer.phtml"); ?>
<script src="/js/track.js"></script>